
import com.lzt.app._
import org.scalatra._
import javax.servlet.ServletContext


class ScalatraBootstrap extends LifeCycle {
  override def init(context: ServletContext) {
    context.mount(new MyScalatraServlet(), "/api/test/*")
    context.mount(new ChatController(), "/socket/*")
    context.mount(new NodeServlet(), "/node/*")
    context.mount(new ServerServlet(), "/server/*")
  }
}
